package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Mutualattention implements Serializable {
    private String mano;

    private String parPno;

    private String pno;

    private String map1begindate;

    private String map2begindate;

    private Integer mastate;

    private static final long serialVersionUID = 1L;

    public String getMano() {
        return mano;
    }

    public void setMano(String mano) {
        this.mano = mano;
    }

    public String getParPno() {
        return parPno;
    }

    public void setParPno(String parPno) {
        this.parPno = parPno;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getMap1begindate() {
        return map1begindate;
    }

    public void setMap1begindate(String map1begindate) {
        this.map1begindate = map1begindate;
    }

    public String getMap2begindate() {
        return map2begindate;
    }

    public void setMap2begindate(String map2begindate) {
        this.map2begindate = map2begindate;
    }

    public Integer getMastate() {
        return mastate;
    }

    public void setMastate(Integer mastate) {
        this.mastate = mastate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Mutualattention other = (Mutualattention) that;
        return (this.getMano() == null ? other.getMano() == null : this.getMano().equals(other.getMano()))
            && (this.getParPno() == null ? other.getParPno() == null : this.getParPno().equals(other.getParPno()))
            && (this.getPno() == null ? other.getPno() == null : this.getPno().equals(other.getPno()))
            && (this.getMap1begindate() == null ? other.getMap1begindate() == null : this.getMap1begindate().equals(other.getMap1begindate()))
            && (this.getMap2begindate() == null ? other.getMap2begindate() == null : this.getMap2begindate().equals(other.getMap2begindate()))
            && (this.getMastate() == null ? other.getMastate() == null : this.getMastate().equals(other.getMastate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMano() == null) ? 0 : getMano().hashCode());
        result = prime * result + ((getParPno() == null) ? 0 : getParPno().hashCode());
        result = prime * result + ((getPno() == null) ? 0 : getPno().hashCode());
        result = prime * result + ((getMap1begindate() == null) ? 0 : getMap1begindate().hashCode());
        result = prime * result + ((getMap2begindate() == null) ? 0 : getMap2begindate().hashCode());
        result = prime * result + ((getMastate() == null) ? 0 : getMastate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", mano=").append(mano);
        sb.append(", parPno=").append(parPno);
        sb.append(", pno=").append(pno);
        sb.append(", map1begindate=").append(map1begindate);
        sb.append(", map2begindate=").append(map2begindate);
        sb.append(", mastate=").append(mastate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}